<template>
  <div class="index-main">
    <panel-statistic></panel-statistic>

    <div class="card mb-3">
      <div class="card-body">
        <div>
          <chart-customer-area></chart-customer-area>
        </div>
      </div>
    </div>

    <div class="d-flex">
      <div class="card flex-1 mr-3">
        <div class="card-body">
          <panel-task></panel-task>
        </div>
      </div>
      <div class="card flex-1 mr-3">
        <div class="card-body">
          <panel-message></panel-message>
        </div>
      </div>
      <div class="card flex-1">
        <div class="card-body">
          <panel-search></panel-search>
        </div>
      </div>
    </div>

    <div class="main-copyright">
      <small v-html="TEXT_COPYRIGHT"></small>
    </div>
  </div>
</template>

<script>
import PanelStatistic from './PanelStatistic'
import PanelTask from './PanelTask'
import PanelMessage from './PanelMessage'
import PanelSearch from './PanelSearch'
import ChartCustomerArea from '@/gov/components/ChartCustomerArea'
import { TEXT_COPYRIGHT } from '@/common/plugins/constant'

export default {
  components: {
    PanelStatistic,
    ChartCustomerArea,
    PanelTask,
    PanelSearch,
    PanelMessage,
  },
  props: {},
  data() {
    return {
      TEXT_COPYRIGHT,
      height: 261,
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
}
</script>

<style lang="scss" scoped>
.index-main {
  position: relative;
  min-height: calc(100vh - #{$header-height + $crumb-height + 28});
}
.main-copyright {
  margin-top: 1.5rem;
  text-align: center;
  line-height: 1;
}
</style>
